using Newtonsoft.Json;
/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;
using DGZImp.SysEntity;

namespace ATkg.BizAppProject.DomainModels
{
    [Entity(TableCnName = "ICP测试",TableName = "tech_icp",DBServer = "ServiceDbContext")]
    public partial class tech_icp:ServiceEntity
    {
        /// <summary>
       ///来样单位
       /// </summary>
       [Display(Name ="来样单位")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Partner { get; set; }

       /// <summary>
       ///来样日期
       /// </summary>
       [Display(Name ="来样日期")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? DateCome { get; set; }

       /// <summary>
       ///名称
       /// </summary>
       [Display(Name ="名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Product { get; set; }

       /// <summary>
       ///编码
       /// </summary>
       [Display(Name ="编码")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Lot { get; set; }

       /// <summary>
       ///Pr
       /// </summary>
       [Display(Name ="Pr")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Pr { get; set; }

       /// <summary>
       ///Nd
       /// </summary>
       [Display(Name ="Nd")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Nd { get; set; }

       /// <summary>
       ///Dy
       /// </summary>
       [Display(Name ="Dy")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Dy { get; set; }

       /// <summary>
       ///Tb
       /// </summary>
       [Display(Name ="Tb")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Tb { get; set; }

       /// <summary>
       ///Gd
       /// </summary>
       [Display(Name ="Gd")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Gd { get; set; }

       /// <summary>
       ///Ho
       /// </summary>
       [Display(Name ="Ho")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Ho { get; set; }

       /// <summary>
       ///Fe
       /// </summary>
       [Display(Name ="Fe")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Fe { get; set; }

       /// <summary>
       ///Al
       /// </summary>
       [Display(Name ="Al")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Al { get; set; }

       /// <summary>
       ///B
       /// </summary>
       [Display(Name ="B")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string B { get; set; }

       /// <summary>
       ///Ga
       /// </summary>
       [Display(Name ="Ga")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Ga { get; set; }

       /// <summary>
       ///Cu
       /// </summary>
       [Display(Name ="Cu")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Cu { get; set; }

       /// <summary>
       ///Co
       /// </summary>
       [Display(Name ="Co")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Co { get; set; }

       /// <summary>
       ///Ce
       /// </summary>
       [Display(Name ="Ce")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Ce { get; set; }

       /// <summary>
       ///Zr
       /// </summary>
       [Display(Name ="Zr")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string Zr { get; set; }

       /// <summary>
       ///RE
       /// </summary>
       [Display(Name ="RE")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       public string RE { get; set; }

       /// <summary>
       ///键
       /// </summary>
       [SugarColumn(IsPrimaryKey = true)]
       [Key]
       [Display(Name ="键")]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long Id { get; set; }

       /// <summary>
       ///是否有效(0:否,1:是)
       /// </summary>
       [Display(Name ="是否有效(0:否,1:是)")]
       [JsonIgnore]
       [SugarColumn(NoSerialize = true)]
       [Column(TypeName="int")]
       [Required(AllowEmptyStrings=false)]
       public int IsValid { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [JsonIgnore]
       [SugarColumn(NoSerialize = true)]
       [Column(TypeName="nvarchar(max)")]
       [Editable(true)]
       public string Remarks { get; set; }

       /// <summary>
       ///创建人ID
       /// </summary>
       [Display(Name ="创建人ID")]
       [JsonIgnore]
       [SugarColumn(NoSerialize = true)]
       [Column(TypeName="bigint")]
       [Required(AllowEmptyStrings=false)]
       public long CreateId { get; set; }

       /// <summary>
       ///创建人名
       /// </summary>
       [Display(Name ="创建人名")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       public string Creator { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       public DateTime? CreateTime { get; set; }

       /// <summary>
       ///修改人ID
       /// </summary>
       [Display(Name ="修改人ID")]
       [JsonIgnore]
       [SugarColumn(NoSerialize = true)]
       [Column(TypeName="bigint")]
       public long? ModifyId { get; set; }

       /// <summary>
       ///修改人名
       /// </summary>
       [Display(Name ="修改人名")]
       [MaxLength(30)]
       [JsonIgnore]
       [SugarColumn(NoSerialize = true)]
       [Column(TypeName="nvarchar(30)")]
       public string Modifier { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [JsonIgnore]
       [SugarColumn(NoSerialize = true)]
       [Column(TypeName="datetime")]
       public DateTime? ModifyTime { get; set; }

       
    }
}
